package cn.wp.ewallet.wallet.dao.impl;

import cn.wp.ewallet.wallet.dao.ProcRecordInfoDao;
import cn.wp.ewallet.wallet.model.entity.ProcRecordInfoDo;
import org.springframework.stereotype.Repository;
import cn.wp.common.core.dao.JdbcSupportTemplate;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 申请单处理结果-数据访问层实现
 * Created by zhangyongli on 2020/01/09
 */
@Repository
public class ProcRecordInfoDaoImpl implements ProcRecordInfoDao {

    @Autowired
    private JdbcSupportTemplate jdbcSupportTemplate;

    /**
     * 保存申请单-->处理记录
     * @param procRecordInfoDo
     */
    @Override
    public void saveProcRecordInfo(ProcRecordInfoDo procRecordInfoDo) {
        jdbcSupportTemplate.insert(procRecordInfoDo);
    }
}